package com.jarchie.htgl.network;

import com.jarchie.htgl.constants.ConfigConstant;

/**
 * Created by Jarchie on 2018\1\2.
 * 网络请求的实现类
 */

public class Api extends RetrofitManage{

    public Api(String baseUrl){
        super(baseUrl);
    }

    private static Api api = new Api(ConfigConstant.BASE_URL);

    public static ApiService getInstance(){
        return api.getRetrofit().create(ApiService.class);
    }

}
